import 'package:characters/characters.dart';
import 'package:flutter_app/Extension/special_text/emoji_text.dart';

extension String_ on String {
  /// 防止文字自动换行
  String fixAutoLines() {
    if (this.contains(EmojiText.prefix)) return this;
    return Characters(this).join('\u{200B}');
  }
}
